﻿using MediatR;
using Work.API.Dtos;
using Work.ErrorCode;

namespace Work.API.Applications.Write.Commands
{
    /// <summary>
    /// 就诊人添加(办理医疗卡)
    /// </summary>
    public class AddPatientCommand:IRequest<ApiResult<AddPatientResultDto>>
    {
        /// <summary>
        /// 卡号
        /// </summary>
        //public string? CardNumber { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? PatientName { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string? IdCard { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string? Ethnicity { get; set; }
        /// <summary>
        /// 文化程度
        /// </summary>
        public string? Educationlevel { get; set; }
        /// <summary>
        /// 职业
        /// </summary>
        public string? Occupation { get; set; }
        /// <summary>
        /// 邮政编码
        /// </summary>
        public string? Postalcode { get; set; }
        /// <summary>
        /// 婚姻状况
        /// </summary>
        public string? Maritalstatus { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Gender { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? Birthday { get; set; }
    }
}
